home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / src / gdb-4.12 / bfd / makefile < prev    next >
Encoding:
Makefile  |  1994-07-25  |  24.4 KB  |  693 lines

  1. #    Makefile template for Configure for the BFD library.
  2. #    Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
  3. #    Written by Cygnus Support.
  4. # This file is part of BFD, the Binary File Descriptor library.
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2 of the License, or
  8. # (at your option) any later version.
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU General Public License for more details.
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software
  15. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16.  
  17. srcdir = .
  18.  
  19. prefix = /usr/local
  20.  
  21. exec_prefix = $(prefix)
  22. bindir = $(exec_prefix)/bin
  23. libdir = $(exec_prefix)/lib
  24.  
  25. datadir = $(prefix)/lib
  26. mandir = $(prefix)/man
  27. man1dir = $(mandir)/man1
  28. man2dir = $(mandir)/man2
  29. man3dir = $(mandir)/man3
  30. man4dir = $(mandir)/man4
  31. man5dir = $(mandir)/man5
  32. man6dir = $(mandir)/man6
  33. man7dir = $(mandir)/man7
  34. man8dir = $(mandir)/man8
  35. man9dir = $(mandir)/man9
  36. infodir = $(prefix)/info
  37. includedir = $(prefix)/include
  38. oldincludedir =
  39. docdir = doc
  40.  
  41. SHELL = /bin/sh
  42.  
  43. INSTALL = install -c
  44. INSTALL_PROGRAM = $(INSTALL)
  45. INSTALL_DATA = $(INSTALL)
  46.  
  47. AR = ar
  48. AR_FLAGS = rc
  49. CFLAGS = -g
  50. BISON = bison
  51. MAKEINFO = makeinfo
  52. RANLIB = ranlib
  53.  
  54. CC_FOR_BUILD = $(CC)
  55.  
  56. INCDIR = $(srcdir)/../include
  57. CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
  58. DEP = mkdep
  59.  
  60. SUBDIRS = doc
  61.  
  62.  
  63. TARGETLIB = libbfd.a
  64.  
  65. # bfd.h goes here, for now
  66. BFD_H = bfd.h
  67.  
  68. # Some of these files should be in BFD*_BACKENDS below, but some programs
  69. # won't link without them.  So, in order for some of the minimal-bfd
  70. # hacks to work, they're also included here for now.
  71. #    gdb: ecoff.o ecofflink.o elf.o
  72. #    objdump: elf.o
  73. #
  74. # Also, Jim Kingdon notes:
  75. # Writing S-records should be included in all (or at least most)
  76. # *-*-coff, *-*-aout, etc., configurations, because people will want to
  77. # be able to use objcopy to create S-records.  (S-records are not useful
  78. # for the debugger, so if you are downloading things as S-records you
  79. # need two copies of the executable, one to download and one for the
  80. # debugger).
  81. BFD_LIBS = \
  82.     archive.o archures.o bfd.o cache.o coffgen.o core.o ctor.o \
  83.     format.o init.o libbfd.o opncls.o reloc.o \
  84.     section.o syms.o targets.o hash.o linker.o \
  85.     ecoff.o ecofflink.o elf.o srec.o
  86.  
  87. # This list is alphabetized to make it easier to keep in sync
  88. # with the decls and initializer in archures.c.
  89. ALL_MACHINES = \
  90.     cpu-a29k.o \
  91.     cpu-alpha.o \
  92.     cpu-h8300.o \
  93.     cpu-h8500.o \
  94.     cpu-hppa.o \
  95.     cpu-i386.o \
  96.     cpu-i960.o \
  97.     cpu-m68k.o \
  98.     cpu-m88k.o \
  99.     cpu-mips.o \
  100.     cpu-rs6000.o \
  101.     cpu-sh.o \
  102.     cpu-sparc.o \
  103.     cpu-vax.o \
  104.     cpu-we32k.o \
  105.     cpu-z8k.o
  106.  
  107. # The .o files needed by all of the 32 bit vectors that are configured into
  108. # target_vector in targets.c if configured with --with-targets=all.
  109. BFD32_BACKENDS = \
  110.     aout-adobe.o \
  111.     aout32.o \
  112.     bout.o \
  113.     cf-i386lynx.o \
  114.     cf-m68klynx.o \
  115.     cf-sparclynx.o \
  116.     coff-a29k.o \
  117.     coff-apollo.o \
  118.     coff-h8300.o \
  119.     coff-h8500.o \
  120.     coff-go32.o \
  121.     coff-i386.o \
  122.     coff-i960.o \
  123.     coff-m68k.o \
  124.     coff-m88k.o \
  125.     coff-mips.o \
  126.     coff-rs6000.o \
  127.     coff-sh.o \
  128.     coff-u68k.o \
  129.     coff-we32k.o \
  130.     coff-z8k.o \
  131.     elf32-gen.o \
  132.     elf32-hppa.o \
  133.     elf32-i386.o \
  134.     elf32-i860.o \
  135.     elf32-m68k.o \
  136.     elf32-m88k.o \
  137.     elf32-mips.o \
  138.     elf32-sparc.o \
  139.     elf32.o \
  140.     hp300hpux.o \
  141.     som.o \
  142.     i386aout.o \
  143.     i386bsd.o \
  144.     i386linux.o \
  145.     i386lynx.o \
  146.     netbsd386.o \
  147.     i386mach3.o \
  148.     ieee.o \
  149.     m68klynx.o \
  150.     mipsbsd.o \
  151.     newsos3.o \
  152.     nlm.o \
  153.     nlm32-i386.o \
  154.     nlm32-sparc.o \
  155.     nlm32.o \
  156.     oasys.o \
  157.     reloc16.o \
  158.     sparclynx.o \
  159.     stab-syms.o \
  160.     sunos.o
  161.  
  162. # The .o files needed by all of the 64 bit vectors that are configured into
  163. # target_vector in targets.c if configured with --with-targets=all
  164. # and --with-64-bit-bfd.
  165. BFD64_BACKENDS = \
  166.     aout64.o \
  167.     coff-alpha.o \
  168.     demo64.o \
  169.     elf64-gen.o \
  170.     elf64.o \
  171.     nlm32-alpha.o \
  172.     nlm64.o
  173.  
  174. OPTIONAL_BACKENDS = \
  175.     aix386-core.o \
  176.     hpux-core.o \
  177.     irix-core.o \
  178.     lynx-core.o \
  179.     osf-core.o \
  180.     trad-core.o
  181.  
  182. # These are defined by configure.in:
  183. # WORDSIZE=32
  184. # BFD_BACKENDS = $(BFD32_BACKENDS)
  185.  
  186. BFD_BACKENDS = coff-go32.o
  187. BFD_MACHINES=cpu-i386.o
  188.  
  189. all:
  190.  
  191. #### host and target dependent Makefile fragments come in here.
  192. TDEFAULTS = -DSELECT_ARCHITECTURES=bfd_i386_arch -DSELECT_VECS=&i386go32_vec
  193. ###
  194.  
  195. FLAGS_TO_PASS = \
  196.     "prefix=$(prefix)" \
  197.     "exec_prefix=$(exec_prefix)" \
  198.     "against=$(against)" \
  199.     "AR=$(AR)" \
  200.     "AR_FLAGS=$(AR_FLAGS)" \
  201.     "CC=$(CC)" \
  202.     "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
  203.     "CFLAGS=$(CFLAGS)" \
  204.     "RANLIB=$(RANLIB)" \
  205.     "MAKEINFO=$(MAKEINFO)" \
  206.     "INSTALL=$(INSTALL)" \
  207.     "INSTALL_DATA=$(INSTALL_DATA)" \
  208.     "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
  209.     "BISON=$(BISON)"
  210.  
  211. ALL_CFLAGS=$(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES)
  212. .c.o:
  213.     $(CC) -c $(ALL_CFLAGS) $<
  214.  
  215. # C source files that correspond to .o's.
  216. CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
  217.      archures.c coff-go32.c aout64.c aout32.c sunos.c demo64.c \
  218.      coff-i960.c srec.c tekhex.c oasys.c ieee.c \
  219.      ecoff.c ecofflink.c coff-m68k.c coff-u68k.c coff-apollo.c \
  220.      coff-a29k.c coff-rs6000.c coff-sparc.c coffgen.c format.c \
  221.      section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c \
  222.      coff-m88k.c coff-mips.c coff-sh.c trad-core.c newsos3.c \
  223.      i386aout.c i386linux.c netbsd386.c i386mach3.c bout.c aout-adobe.c coff-we32k.c \
  224.      i386bsd.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \
  225.      cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c \
  226.      cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
  227.      mipsbsd.c cpu-sh.c \
  228.      elf.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \
  229.      elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c \
  230.      elf64.c elf64-gen.c \
  231.      nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \
  232.      nlm64.c coff-alpha.c cpu-alpha.c \
  233.      hp300bsd.c hp300hpux.c \
  234.      i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \
  235.      sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \
  236.      irix-core.c lynx-core.c osf-core.c hash.c linker.c
  237.  
  238. HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
  239.      coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
  240.      elfcode.h hppa_stubs.h libaout.h libbfd.h \
  241.      libcoff.h libecoff.h libelf.h libhppa.h libieee.h libnlm.h \
  242.      liboasys.h nlm-target.h nlmcode.h som.h genlink.h
  243.  
  244. STAGESTUFF = $(TARGETLIB) $(OFILES)
  245.  
  246. all: $(TARGETLIB) 
  247.  
  248. .NOEXPORT:
  249. MAKEOVERRIDES=
  250.  
  251. .PHONY: check installcheck
  252. check:
  253.     @echo No testsuites exist. Nothing to check.
  254.  
  255. installcheck:
  256.     @echo No testsuites exist. Nothing to check.
  257.  
  258. info dvi : force
  259.     @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  260.  
  261. clean-info:
  262.     @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  263.     
  264. install-info: force
  265.     @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  266.  
  267. diststuff: info
  268.  
  269. # Various kinds of .o files to put in libbfd.a:
  270. # BFD_LIBS    Generic routines, always needed.
  271. # BFD_BACKENDS    Routines the configured targets need.
  272. # BFD_MACHINES    Architecture-specific routines the configured targets need.
  273. # HDEPFILES    Routines the host needs, regardless of target.
  274. # TDEPFILES    Routines the target needs, regardless of host.
  275. OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
  276.  
  277. ofiles : Makefile
  278.     rm -f ofiles
  279.     f=""; \
  280.     for i in $(OFILES) ; do \
  281.       case " $$f " in \
  282.         *" $$i "*) ;; \
  283.         *) f="$$f $$i" ;; \
  284.       esac ; \
  285.     done ; \
  286.     echo $$f > ofiles
  287.  
  288. $(TARGETLIB): $(OFILES)
  289.     -rm -f $(TARGETLIB)
  290.     $(AR) $(AR_FLAGS) $(TARGETLIB) $(OFILES)
  291.     $(RANLIB) $(TARGETLIB)
  292.  
  293. # When compiling archures.c and targets.c, supply the default target
  294. # info from configure.
  295.  
  296.  
  297. targets.o: targets.c Makefile
  298.     $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $(TDEFAULTS) $<
  299.  
  300. archures.o: archures.c Makefile
  301.     $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $(TDEFAULTS) $<
  302.  
  303. subdir_do: force
  304.     @for i in $(DODIRS); do \
  305.         if [ -d ./$$i ] ; then \
  306.             if (cd ./$$i; \
  307.                 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
  308.             else exit 1 ; fi ; \
  309.         else true ; fi ; \
  310.     done
  311.  
  312. tags etags: TAGS
  313.  
  314. TAGS: force
  315.     etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
  316.  
  317. do_mostlyclean:
  318.     rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout
  319. do_clean: do_mostlyclean
  320.     rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles
  321. do_distclean: do_clean
  322.     rm -f Makefile config.status sysdep.h
  323.  
  324. # Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h?
  325. # make-stds.texi says it depends on whether they can be regenerated using
  326. # this makefile.  Well, they can, but only via an explicit "make headers";
  327. # the makefile does not regenerate them as needed.  So I guess we should not
  328. # remove them in realclean.
  329. do_realclean: do_distclean
  330.  
  331. mostlyclean: do_mostlyclean
  332.     $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  333. clean: do_clean
  334.     $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  335. distclean:
  336.     $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  337.     $(MAKE) do_distclean
  338. clobber realclean:
  339.     $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  340.     $(MAKE) do_realclean
  341.  
  342. # Mark everything as depending on config.status, since the timestamp on
  343. # sysdep.h might actually move backwards if we reconfig and relink it
  344. # to a different hosts/h-xxx.h file.  This will force a recompile anyway.
  345. BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
  346. # RECONFIG = config.status
  347. $(BFD_LIBS):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
  348. $(BFD_MACHINES):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
  349. $(BFD_BACKENDS):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
  350. $(OPTIONAL_BACKENDS):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
  351.  
  352. # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
  353. cpu-i386.o:cpu-i386.c
  354. cpu-z8k.o: cpu-z8k.c
  355. cpu-h8500.o: cpu-h8500.c
  356. cpu-we32k.o: cpu-we32k.c
  357.  
  358. saber:
  359.     #suppress 65 on bfd_map_over_sections 
  360.     #suppress 66 on bfd_map_over_sections 
  361.     #suppress 67 on bfd_map_over_sections 
  362.     #suppress 68 on bfd_map_over_sections 
  363.     #suppress 69 on bfd_map_over_sections 
  364.     #suppress 70 on bfd_map_over_sections 
  365.     #suppress 110 in bfd_map_over_sections 
  366.     #suppress 112 in bfd_map_over_sections 
  367.     #suppress 530 
  368.     #suppress 590 in swap_exec_header 
  369.     #suppress 590 in _bfd_dummy_core_file_matches_executable_p 
  370.     #suppress 590 in bfd_dont_truncate_arname
  371.     #suppress 590 on ignore 
  372.     #suppress 590 on abfd 
  373.     #setopt load_flags $(CFLAGS)
  374.     #load $(CFILES)
  375.  
  376.  
  377. #-----------------------------------------------------------------------------
  378. #        'STANDARD' GNU/960 TARGETS BELOW THIS POINT
  379. #
  380. # 'VERSION' file must be present and contain a string of the form "x.y"
  381. #-----------------------------------------------------------------------------
  382.  
  383. ver960.c: FORCE
  384.     rm -f ver960.c
  385.     echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
  386.  
  387.  
  388. # This target should be invoked before building a new release.
  389. # 'VERSION' file must be present and contain a string of the form "x.y"
  390. #
  391. roll:
  392.     @V=`cat VERSION`        ; \
  393.     MAJ=`sed 's/\..*//' VERSION`    ; \
  394.     MIN=`sed 's/.*\.//' VERSION`    ; \
  395.     V=$$MAJ.`expr $$MIN + 1`    ; \
  396.     rm -f VERSION            ; \
  397.     echo $$V >VERSION        ; \
  398.     echo Version $$V
  399.  
  400. # Dummy target to force execution of dependent targets.
  401. #
  402. force:
  403.  
  404. install:
  405.     $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
  406.     $(RANLIB) $(libdir)/libbfd.a
  407. # Install BFD include file, and others that it needs.  Install them
  408. # both in GCC's include directory, and in the system include dir
  409. # if configured as $(oldincludedir) -- which it usually isnt.
  410.     $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
  411.     $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
  412.     $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
  413.     -if test -z "$(oldincludedir)"; then true; else \
  414.     test -d $(oldincludedir) || mkdir $(oldincludedir); \
  415.     $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
  416.     $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
  417.     $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
  418.     $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
  419.     fi
  420.  
  421. Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
  422.     $(SHELL) config.status
  423.  
  424. # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
  425. .dep: dep.sed $(CFILES) $(HFILES) bfd.h
  426.     rm -f .dep1
  427.     $(MAKE) DEP=$(DEP) .dep1
  428.     sed -f dep.sed <.dep1 >.dep
  429.  
  430. # This rule really wants a mkdep that runs "gcc -MM".
  431. .dep1: $(CFILES)
  432.     rm -f .dep2
  433.     echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
  434.     $(DEP) -f .dep2 $(ALL_CFLAGS) $?
  435.     $(srcdir)/../move-if-change .dep2 .dep1
  436.  
  437. dep.sed: dep-in.sed config.status
  438.     sed <$(srcdir)/dep-in.sed >dep.sed    \
  439.         -e 's!@BFD_H@!$(BFD_H)!'    \
  440.         -e 's!@INCDIR@!$(INCDIR)!'    \
  441.         -e 's!@srcdir@!$(srcdir)!'
  442.  
  443. dep: .dep
  444.     sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
  445.     cat .dep >> tmp-Makefile
  446.     $(srcdir)/../move-if-change tmp-Makefile Makefile
  447.  
  448. dep-in: .dep
  449.     sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
  450.     cat .dep >> tmp-Makefile.in
  451.     $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
  452.  
  453. host-aout.o: Makefile
  454.  
  455. # The following program can be used to generate a simple config file
  456. # which can be folded into an h-XXX file for a new host, with some editing.
  457. aout-params.h: gen-aout
  458.     ./gen-aout > aout-params.h
  459. gen-aout: $(srcdir)/gen-aout.c Makefile
  460.     $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
  461.  
  462. BFDIN_H= $(srcdir)/bfd-in2.h
  463.  
  464. # $(BFD_H): stmp-bfd.h ; @true
  465.  
  466. # The file ../include/bfd.h is from earlier attempts to get this right.
  467. # If the file is still there, kill it.
  468. stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
  469.     rm -f bfd.h-new 64 ../include/bfd.h
  470.     -grep HOST_64_BIT sysdep.h > 64
  471.     sed -e 's/@WORDSIZE@/$(WORDSIZE)/' -e '/64-bit.*sysdep.h/ r 64' < $(srcdir)/bfd-in2.h > bfd.h-new
  472.     $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
  473.     rm -f 64
  474.     touch stmp-bfd.h
  475.  
  476. # Could really use a "copy-if-change"...
  477. headers:
  478.     (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
  479.     cp $(docdir)/bfd.h bfd-in2.h-new
  480.     $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
  481.     cp $(docdir)/libbfd.h libbfd.h-new
  482.     $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
  483.     cp $(docdir)/libcoff.h libcoff.h-new
  484.     $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
  485.  
  486. bfd.info:
  487.     (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
  488.  
  489. bfd.dvi:
  490.     (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
  491.  
  492. bfd.ps: 
  493.     (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
  494.  
  495. # What appears below is generated by a hacked mkdep using gcc -MM.
  496.  
  497. # DO NOT DELETE THIS LINE -- mkdep uses it.
  498. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  499.  
  500. libbfd.o : libbfd.c
  501. opncls.o : opncls.c
  502. bfd.o : bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  503.   $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
  504.   libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
  505.   $(INCDIR)/elf/external.h
  506. archive.o : archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
  507. targets.o : targets.c
  508. cache.o : cache.c
  509. archures.o : archures.c
  510. coff-i386.o : coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
  511.   libcoff.h coffcode.h coffswap.h
  512. aout64.o : aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
  513.   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  514.   $(INCDIR)/aout/ar.h
  515. aout32.o : aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
  516.   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  517.   $(INCDIR)/aout/ar.h
  518. sunos.o : sunos.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
  519.   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  520.   $(INCDIR)/aout/ar.h aout-target.h
  521. demo64.o : demo64.c aoutf1.h $(INCDIR)/aout/sun4.h \
  522.   libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  523.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
  524. coff-i960.o : coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
  525.   libcoff.h coffcode.h coffswap.h
  526. srec.o : srec.c
  527. tekhex.o : tekhex.c
  528. oasys.o : oasys.c $(INCDIR)/oasys.h liboasys.h
  529. ieee.o : ieee.c $(INCDIR)/ieee.h libieee.h
  530. ecoff.o : ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
  531.   $(INCDIR)/aout/ranlib.h libaout.h $(INCDIR)/aout/aout64.h \
  532.   $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
  533.   $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h
  534. ecofflink.o : ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  535.   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
  536. coff-m68k.o : coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
  537.   libcoff.h coffcode.h coffswap.h
  538. coff-u68k.o : coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
  539.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  540. coff-apollo.o : coff-apollo.c $(INCDIR)/coff/apollo.h \
  541.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  542. coff-a29k.o : coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
  543.   libcoff.h coffcode.h coffswap.h
  544. coff-rs6000.o : coff-rs6000.c $(INCDIR)/coff/internal.h \
  545.   $(INCDIR)/coff/rs6000.h libcoff.h coffcode.h coffswap.h
  546. coff-sparc.o : coff-sparc.c $(INCDIR)/coff/sparc.h \
  547.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  548. coffgen.o : coffgen.c $(INCDIR)/coff/internal.h libcoff.h
  549. format.o : format.c
  550. section.o : section.c
  551. core.o : core.c
  552. syms.o : syms.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
  553. stab-syms.o : stab-syms.c libaout.h $(INCDIR)/aout/aout64.h \
  554.   $(INCDIR)/aout/stab.def
  555. reloc.o : reloc.c $(INCDIR)/bfdlink.h
  556. init.o : init.c
  557. ctor.o : ctor.c
  558. coff-m88k.o : coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
  559.   libcoff.h coffcode.h coffswap.h
  560. coff-mips.o : coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  561.   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
  562.   $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
  563.   ecoffswap.h
  564. coff-sh.o : coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
  565.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  566. trad-core.o : trad-core.c libaout.h
  567. newsos3.o : newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  568.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
  569.   aout-target.h
  570. i386aout.o : i386aout.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
  571.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  572. i386linux.o : i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  573.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
  574.   aout-target.h
  575. netbsd386.o : netbsd386.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
  576.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  577. i386mach3.o : i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  578.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
  579.   aout-target.h
  580. bout.o : bout.c $(INCDIR)/bfdlink.h $(INCDIR)/bout.h \
  581.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
  582. aout-adobe.o : aout-adobe.c $(INCDIR)/aout/adobe.h \
  583.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
  584. coff-we32k.o : coff-we32k.c $(INCDIR)/coff/we32k.h \
  585.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  586. i386bsd.o : i386bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
  587.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  588. cpu-h8300.o : cpu-h8300.c
  589. cpu-i960.o : cpu-i960.c
  590. cpu-sparc.o : cpu-sparc.c
  591. cpu-m68k.o : cpu-m68k.c
  592. cpu-m88k.o : cpu-m88k.c
  593. cpu-vax.o : cpu-vax.c
  594. cpu-mips.o : cpu-mips.c
  595. cpu-a29k.o : cpu-a29k.c
  596. cpu-i386.o : cpu-i386.c
  597. cpu-rs6000.o : cpu-rs6000.c
  598. coff-h8300.o : coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \
  599.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  600. som.o : som.c
  601. cpu-hppa.o : cpu-hppa.c
  602. cpu-we32k.o : cpu-we32k.c
  603. reloc16.o : reloc16.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  604.   libcoff.h
  605. mipsbsd.o : mipsbsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
  606.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  607. cpu-sh.o : cpu-sh.c
  608. elf.o : elf.c libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
  609.   $(INCDIR)/elf/external.h
  610. elf32.o : elf32.c elfcode.h libelf.h $(INCDIR)/elf/common.h \
  611.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
  612. elf32-sparc.o : elf32-sparc.c libelf.h $(INCDIR)/elf/common.h \
  613.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
  614. elf32-i386.o : elf32-i386.c libelf.h $(INCDIR)/elf/common.h \
  615.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
  616. elf32-i860.o : elf32-i860.c libelf.h $(INCDIR)/elf/common.h \
  617.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
  618. elf32-m68k.o : elf32-m68k.c libelf.h $(INCDIR)/elf/common.h \
  619.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
  620. elf32-hppa.o : elf32-hppa.c $(INCDIR)/bfdlink.h libelf.h \
  621.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  622.   elf32-hppa.h libhppa.h $(INCDIR)/aout/aout64.h hppa_stubs.h \
  623.   elf32-target.h
  624. elf32-m88k.o : elf32-m88k.c libelf.h $(INCDIR)/elf/common.h \
  625.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
  626. elf32-mips.o : elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
  627.   libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
  628.   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
  629.   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
  630.   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
  631.   elf32-target.h
  632. elf32-gen.o : elf32-gen.c libelf.h $(INCDIR)/elf/common.h \
  633.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
  634. elf64.o : elf64.c elfcode.h libelf.h $(INCDIR)/elf/common.h \
  635.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
  636. elf64-gen.o : elf64-gen.c libelf.h $(INCDIR)/elf/common.h \
  637.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf64-target.h
  638. nlm.o : nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  639.   $(INCDIR)/nlm/external.h
  640. nlm32.o : nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
  641.   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
  642. nlm32-i386.o : nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
  643.   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  644.   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
  645. nlm32-sparc.o : nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
  646.   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  647.   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
  648. nlm32-alpha.o : nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
  649.   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  650.   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
  651. nlm64.o : nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
  652.   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
  653. coff-alpha.o : coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  654.   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
  655.   $(INCDIR)/coff/alpha.h libcoff.h libecoff.h coffswap.h \
  656.   ecoffswap.h
  657. cpu-alpha.o : cpu-alpha.c
  658. hp300bsd.o : hp300bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
  659.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  660. hp300hpux.o : hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
  661.   aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
  662.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
  663.   aout-target.h
  664. i386lynx.o : i386lynx.c libaout.h $(INCDIR)/aout/aout64.h \
  665.   aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  666.   $(INCDIR)/aout/ar.h
  667. cf-i386lynx.o : cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
  668.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  669. m68klynx.o : m68klynx.c libaout.h $(INCDIR)/aout/aout64.h \
  670.   aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  671.   $(INCDIR)/aout/ar.h
  672. cf-m68klynx.o : cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
  673.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  674. sparclynx.o : sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
  675.   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  676.   $(INCDIR)/aout/ar.h aout-target.h
  677. cf-sparclynx.o : cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
  678.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  679. aix386-core.o : aix386-core.c $(INCDIR)/coff/i386.h \
  680.   $(INCDIR)/coff/internal.h libcoff.h
  681. hpux-core.o : hpux-core.c
  682. irix-core.o : irix-core.c
  683. lynx-core.o : lynx-core.c
  684. osf-core.o : osf-core.c
  685. hash.o : hash.c
  686. linker.o : linker.c $(INCDIR)/bfdlink.h genlink.h
  687.  
  688. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  689.